//
//  PWKWebAPI.m
//  Browser2345-iPhone
//
//  Created by apple on 15/3/18.
//  Copyright (c) 2015年 hardy. All rights reserved.
//

#import "PWKWebAPI.h"

@implementation PWKWebAPI
+ (PWKWebAPI *)defaultKit {
    static PWKWebAPI *defaultKit;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        defaultKit = [[PWKWebAPI alloc] init];
    });
    return defaultKit;
}
- (id)init {
    self = [super init];
    if (self) {
        self.type = [[NSString alloc] initWithString:NSStringFromClass([self class])];
        
        self.selectors = @[@"X3NldEN1c3RvbVVzZXJBZ2VudDo=",                             //0//- (void)_setCustomUserAgent:(id)arg1;
                           @"X2N1c3RvbVVzZXJBZ2VudA==",                                 //1//- (id)_customUserAgent;
                           @"X2FwcGxpY2F0aW9uTmFtZUZvclVzZXJBZ2VudA==",                 //2//- (id)_applicationNameForUserAgent;
                           @"X3VzZXJBZ2VudA==",                                         //3//- (id)_userAgent;
                           @"Y29ubmVjdGlvbjp3aWxsU2VuZFJlcXVlc3Q6cmVkaXJlY3RSZXNwb25zZTo=",//4//- (id)connection:(id)arg1 willSendRequest:(id)arg2 redirectResponse:(id)arg3;
                           @"d2ViVmlldzpyZXNvdXJjZTp3aWxsU2VuZFJlcXVlc3Q6cmVkaXJlY3RSZXNwb25zZTpmcm9tRGF0YVNvdXJjZTo=",
                           //5//-(id)webView:(id)view resource:(id)resource willSendRequest:(id)request redirectResponse:(id)response fromDataSource:(id)dataSource;
                           @"X3NldEFsbG93c1NwZWNpZmljSFRUUFNDZXJ0aWZpY2F0ZTpmb3JIb3N0Og==",//6//- (void)_setAllowsSpecificHTTPSCertificate:(id)arg1 forHost:(id)arg2;
                           @"X2NlcnRpZmljYXRlQ2hhaW4=",//7//- (id)_certificateChain;
                           @"X3NldEFsbG93c0FueUhUVFBTQ2VydGlmaWNhdGU6Zm9ySG9zdDo=",//8//- (void)_setAllowsAnyHTTPSCertificate:(BOOL)allow forHost:(NSString*)host;
                           ];
    }
    return self;
}
@end
